﻿@model Enterprise.Management.ViewModels.RewardsPunishmentViewModel
@{ var dictBll = new DictBLL();}
<div>
    @Html.HiddenFor(m => m.Id)
    <fieldset>
        <legend>奖惩信息</legend>
        <div class="editor-label">
            @Html.LabelFor(m => m.Date)
        </div>
        <div class="editor-field">
            @Html.EditorFor(m => m.Date)
            @Html.ValidationMessageFor(m => m.Date)
        </div>
        <div class="editor-label">
            @Html.LabelFor(m => m.DeptId)
        </div>
        <div class="editor-field">
            @Html.DropDownListFor(m => m.DeptId, new SelectList(dictBll.GetDictionaries(DictType.RewardsPunishmentDepartment), "Dict_Value", "Dict_Name"), "-请选择-")
            @Html.ValidationMessageFor(m => m.DeptId)
        </div>
        <div class="editor-label">
            @Html.LabelFor(m => m.ResultId)
        </div>
        <div class="editor-field">
            @Html.DropDownListFor(m => m.ResultId, new SelectList(dictBll.GetDictionaries(DictType.RewardsPunishmentResult), "Dict_Value", "Dict_Name"), "-请选择-")
            @Html.ValidationMessageFor(m => m.ResultId)
        </div>
        <p>
            <input type="submit" value="提交" />
        </p>
    </fieldset>
</div>
